package com.itheima.es.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "tb_sku")
public class Sku implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String name;
    private int price;
    private int num;
    private String image;
    private Date create_time;
    private int category_id;
    private String category_name;
    private String brand_name;
}
